home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
kermit.columbia.edu
/
kermit.columbia.edu.tar
/
kermit.columbia.edu
/
newsgroups
/
misc.19990725-20000114
/
000344_news@columbia.edu _Sun Dec 12 16:35:05 1999.msg
< prev
next >
Wrap
Internet Message Format
|
2000-01-13
|
3KB
Return-Path: <news@columbia.edu>
Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30])
by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id QAA24205
for <kermit.misc@watsun.cc.columbia.edu>; Sun, 12 Dec 1999 16:35:05 -0500 (EST)
Received: (from news@localhost)
by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id QAA09381
for kermit.misc@watsun.cc.columbia.edu; Sun, 12 Dec 1999 16:26:34 -0500 (EST)
X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to <news> using -f
From: jaltman@watsun.cc.columbia.edu (Jeffrey Altman)
Subject: Re: k95 output doesn't!!
Date: 12 Dec 1999 21:26:33 GMT
Organization: Columbia University
Message-ID: <8313u9$953$1@newsmaster.cc.columbia.edu>
To: kermit.misc@columbia.edu
In article <830s88$p2j$1@nnrp1.deja.com>, <w_sykes@my-deja.com> wrote:
: Hey !
:
: Prepared for a stupid newbie question ? I have an extremely simple
: script, like so:
:
: telnet 192.168.2.20
: pause 3
: output wonk\13
: pause
: output elvis\13
:
: I know that I should be using inputs to identify the usename and
: password prompts, but I removed them to try to determing the source of
: the problem. Well, this script happily connects to the host in
: question, and then.... does nothing. It never outputs the first text
: string, "wonk". If I control-c the session, it appears to want to try
: to send the data after the session is closed. It also does not work
: without the pause (I tried removing it.). With input statements in
: place, same problem, the script does not appear to ever get to the
: point that it even evaluates the input. Just a connect, and then... a
: coma. Ideas ? Am I connecting the wrong way ?
:
: I am using k95, fully patched, including security on win98. Kermit ini
: is totally vanilla, nothing in custom. Help!
You have two problems:
(1) the "telnet" command immediately places you into CONNECT mode.
if you want to script the connection you cannot use the TELNET
command. You must use
SET HOST 192.168.2.20
And you should check the result for success or failure.
(2) The PAUSE commands do not process any incoming data including the
telnet negotiations. You must use INPUT commands.
Jeffrey Altman * Sr.Software Designer * Kermit-95 for Win32 and OS/2
The Kermit Project * Columbia University
612 West 115th St #716 * New York, NY * 10025
http://www.kermit-project.org/k95.html * kermit-support@kermit-project.org